home *** CD-ROM | disk | FTP | other *** search
/ Light ROM 4 / Light ROM 4 - Disc 1.iso / text / net_news / 1995 / 052595.doc / text0075.txt < prev    next >
Encoding:
Text File  |  1995-06-03  |  2.3 KB  |  55 lines

  1. Jgross@netcom.com said:
  2.  
  3. >> After some more experimentation, I stumbled upon THE SOLUTION:
  4. >>
  5. >>   Need to turn on the "FG Fader Alpha" button in the "Image
  6. >>   Compositing Panel." Otherwise, any non-black shadow-alpha
  7. >>   surface is NOT blocked out by the alpha image.
  8. >
  9. >Oops, I guess I forgot to mention that little detail..... FG Fader 
  10. >doesn't treat the fG image as additive as it usually is (added to the bg 
  11. >colors). Using FG Fader allows you to "clip out the FG "background" with 
  12. >the alpha image, the prob is that any antialiased edges in the FG image 
  13. >may stand out as they have "bits" of the original bg in the antialiased 
  14. >edges that may not match the new bg image that you are comping it
  15. >against...
  16.  
  17.    Yup. Doesn't work as well as I first thought, although the nasty 
  18. edges can be subdued somewhat by antialiasing the composite and using 
  19. soft filter.
  20.    
  21.    An even better solution, just discovered by a fellow LW animator who does 
  22. a LOT of compositing, eliminates the problem with the matte edges and 
  23. preserves the ability to use transparency...
  24.    To wit: (or anyone else who actually finds this subject interesting :)
  25.    1. Render normally, with A-A, saving the RGB and the shadow-alpha 
  26. images. Shadow-alpha surfaces should be black and 100% diffuse.
  27.    2. Render a second pass, with A-A, with the shadow-alpha objects 
  28. dissolved out or cleared from the scene and shadows turned off. i.e.: 
  29. just the foreground objects -- saving JUST the alpha image.
  30.    3. Render a composite (no A-A) of the shadow-alpha image (from step 
  31. 1) as the BG image, and the alpha without shadows (from step 2) as the 
  32. foreground image. Set "Foreground Dissolve" to a suitable percentage: 
  33. towards 0% = lighter shadows, towards 100% = darker shadows. Record as 
  34. an RGB image, NOT alpha.
  35.    4. Use the resulting RGB image from step 3 as the alpha for the 
  36. final composite (no A-A) with the original BG and the foreground RGB 
  37. image from step 1.
  38.    (Don't use either of the Fader Alpha buttons in any of these steps.)
  39.  
  40.    I gave it try, and it works great as a way to control the shadow 
  41. density.
  42.    
  43.    -Jim
  44. James G. Jones
  45. Nibbles & Bits
  46. jgjones@usa.net
  47.  
  48.  
  49. ___
  50. * UniQWK #5134* 
  51.                                                                                                                            
  52.  
  53.  
  54.  
  55.